package com.aki.ai_property.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 孙贺鹏
 * @date 2022/8/28
 */

/**
 * 报修类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Repairs {
    private Integer id;
    /**
     * 报修内容*/
    private String repairsContent;
    /**
     * 维修状态*/
    private String maintenanceState;
    /**
     * 报修时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")//接收
    private Date rtime;

}
